/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package client.entidades;

/**
 *
 * @author Anderson
 */
public class ConfigConexao {

    private String server;
    private String port;

    private ConfigConexao() {
        server = "irc.virtualife.com.br";
        port = "6667";
    }

    public static ConfigConexao getInstance() {
        return ConfigConexaoHolder.INSTANCE;
    }

    private static class ConfigConexaoHolder {
        private static final ConfigConexao INSTANCE = new ConfigConexao();
    }

    public String getPort() {
        return port;
    }

        public int getIntegerPort() {
        return Integer.parseInt(port);
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getServer() {
        return server;
    }

    public void setServer(String server) {
        this.server = server;
    }
    
 }
